package com.ruoyi.fetvApi.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 栏目对象 fetv_column
 *
 * @author éé­æ°
 * @date 2023-03-03
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class FetvColumnApi extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 栏目id
     */
    private Integer columnId;

    /**
     * 父栏目
     */
    @Excel(name = "父栏目")
    private Integer parentId;

    /**
     * 父栏目标题
     */
    @Excel(name = "父栏目标题")
    private String parentTitle;

    /**
     * 栏目标题
     */
    @Excel(name = "栏目标题")
    private String columnTitle;

    /**
     * 是否主菜
     */
    @Excel(name = "是否主菜")
    private String mainShow;

    /**
     * 模块分类
     */
    @Excel(name = "模块分类")
    private String typeidClass;

    /**
     * 启用状态(0-禁用, 1-启用)
     */
    @Excel(name = "启用状态(0-禁用, 1-启用)")
    private Integer status;

    /**
     * 排序
     */
    @Excel(name = "排序")
    private Integer sort;

    /**
     * 栏目描述
     */
    @Excel(name = "栏目描述")
    private String describes;

    /**
     * 图标
     */
    @Excel(name = "图标")
    private String image;

    /**
     * 是否推荐(0:不推荐,1:推荐)
     */
    @Excel(name = "是否推荐(0:不推荐,1:推荐)")
    private Integer isRecommend;

    /**
     * 跳转方式(1:跳转资讯,2:外链跳转)
     */
    @Excel(name = "跳转方式(1:跳转资讯,2:外链跳转)")
    private Integer jumpType;

    /**
     * 跳转内容
     */
    @Excel(name = "跳转内容")
    private String jumpContent;

    /**
     * 是否删除(0-未删, 1-已删)
     */
    @Excel(name = "是否删除(0-未删, 1-已删)")
    private Integer isDeleted;

    /**
     * 文章集合对象
     */
    private List<FetvInformationApi> informationApiList;

    public void setColumnId(Integer columnId) {
        this.columnId = columnId;
    }

    public Integer getColumnId() {
        return columnId;
    }

    public void setParentId(Integer parentId) {
        this.parentId = parentId;
    }

    public Integer getParentId() {
        return parentId;
    }

    public void setParentTitle(String parentTitle) {
        this.parentTitle = parentTitle;
    }

    public String getParentTitle() {
        return parentTitle;
    }

    public void setColumnTitle(String columnTitle) {
        this.columnTitle = columnTitle;
    }

    public String getColumnTitle() {
        return columnTitle;
    }

    public void setMainShow(String mainShow) {
        this.mainShow = mainShow;
    }

    public String getMainShow() {
        return mainShow;
    }

    public void setTypeidClass(String typeidClass) {
        this.typeidClass = typeidClass;
    }

    public String getTypeidClass() {
        return typeidClass;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getStatus() {
        return status;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public Integer getSort() {
        return sort;
    }

    public void setDescribes(String describes) {
        this.describes = describes;
    }

    public String getDescribes() {
        return describes;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImage() {
        return image;
    }

    public void setIsRecommend(Integer isRecommend) {
        this.isRecommend = isRecommend;
    }

    public Integer getIsRecommend() {
        return isRecommend;
    }

    public void setJumpType(Integer jumpType) {
        this.jumpType = jumpType;
    }

    public Integer getJumpType() {
        return jumpType;
    }

    public void setJumpContent(String jumpContent) {
        this.jumpContent = jumpContent;
    }

    public String getJumpContent() {
        return jumpContent;
    }

    public void setIsDeleted(Integer isDeleted) {
        this.isDeleted = isDeleted;
    }

    public List<FetvInformationApi> getInformationApiList() {
        return informationApiList;
    }

    public void setInformationApiList(List<FetvInformationApi> informationApiList) {
        this.informationApiList = informationApiList;
    }

    public Integer getIsDeleted() {
        return isDeleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("columnId", getColumnId())
                .append("parentId", getParentId())
                .append("parentTitle", getParentTitle())
                .append("columnTitle", getColumnTitle())
                .append("mainShow", getMainShow())
                .append("typeidClass", getTypeidClass())
                .append("status", getStatus())
                .append("sort", getSort())
                .append("describes", getDescribes())
                .append("image", getImage())
                .append("isRecommend", getIsRecommend())
                .append("jumpType", getJumpType())
                .append("jumpContent", getJumpContent())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("isDeleted", getIsDeleted())
                .append("informationApiList", getInformationApiList())
                .toString();
    }
}
